package cn.kgc.smbms.service;

import cn.kgc.smbms.dao.RoleMapper;
import cn.kgc.smbms.projo.Role;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class RoleServiceImp implements RoleService {
    @Resource
    private RoleMapper roleMapper;
    @Override
    public List<Role> selectRoleList() {
        return roleMapper.selectAllRole();
    }
}
